package com.xiyi.shouxin.entity.user;

import java.sql.Timestamp;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

@Data
@Table(value = "pici_record")
public class PiciRecord {
    @Id
    @Column(value = "id")
    private Long id;
    /*
     * 管理员，如果为空则没有绑定
     */
    @Column(value = "admin_id")
    private Long adminId;

    @Column(value = "created_at")
    private Timestamp createdAt;
    /*
     * 0未结束，1已结束
     */
    @Column(value = "is_over")
    private Integer isOver;
}
